﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.Composition;
using Core.BusinessLogic.Interfaces;
using Core.DataAccess.IRepositories;
using Core.Common;

namespace Core.BusinessLogic
{
    [Export(typeof(IFolderImgCoverService))]
    public class FolderImgCoverService : IFolderImgCoverService
    {
        [Import]
        private IFolderImgCoverRepository _folderImgCoverRepository;

        public FolderImgCoverService()
        {
            MEFManager.Compose(this);
        }

        public DataAccess.FolderImgCover GetFolderImgCoverByAccountID(int accountID)
        {
            return _folderImgCoverRepository.GetFolderImgCoverByAccountID(accountID);
        }
    }
}
